package com.zxs.domain.handel.subject;

import com.zxs.common.entity.Result;
import com.zxs.common.enums.SubjectInfoTypeEnum;
import com.zxs.domain.entity.dto.SubjectInfoDTO;

public interface SubjectTypeHandel {

    /**
     * 枚举的识别
     * @return
     */
    SubjectInfoTypeEnum getHandelType();

    /**
     * 题目的插入
     * @param subjectInfoDTO
     */
    Result add(SubjectInfoDTO subjectInfoDTO);

    SubjectInfoDTO query(int subjectId);

}
